/*
 * Powered By [pkuWx]
 * Web Site: http://www.wuxi.ss.pku.edu.cn
 * Since 2015 - 2015
 */

package cn.edu.pku.wxlib.admintorole.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.edu.pku.wxlib.admintorole.dao.AdmintoroleDao;
import cn.edu.pku.wxlib.admintorole.model.Admintorole;
import cn.edu.pku.wxlib.admintorole.vo.query.AdmintoroleQuery;
import javacommon.base.BaseManager;
import javacommon.base.EntityDao;
import javacommon.page.Page;

/**
 * @version 1.0
 * @since 1.0
 */

@Service
@Transactional
public class AdmintoroleManager extends BaseManager<Admintorole,AdmintoroleQuery,java.lang.Integer> implements AdmintoroleService{
	
	@Autowired
	private AdmintoroleDao admintoroleDao;
	public void setAdmintoroleDao(AdmintoroleDao dao) {
		this.admintoroleDao = dao;
	}
	public EntityDao getEntityDao() {
		return this.admintoroleDao;
	}
	
	@Transactional(readOnly=true)
	public Page findPage(AdmintoroleQuery query) {
		return admintoroleDao.findPage(query);
	}
	
}
